package sample.Objects;

public class Alias {
	int i = 0;

	public static void main(String[] args) {
		int i = 0;
		Alias x = new Alias();
		Alias y = x;

		System.out.println("x:" + x.i);
		System.out.println("y:" + y.i);
		x.i++;

		System.out.println("x:" + x.i);
		System.out.println("y:" + y.i);
	}

}
